Whols\Vue_Settings\Settings_REST_API B

Total Complexity 88
Dependencies 5
Dependents 1
Total lines 847
Lines of code 571
Logical lines of code 259
Comment lines 157
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
calculate_metrics()
A
40 13 66
fill_missing_periods()
A
39 11 74
generate_time_series_data()
A
43 9 50
register_rest_routes()
A
36 3 116
get_top_categories()
A
48 8 31
get_top_products()
S
51 5 26
check_permission()
S
55 5 20
get_dashboard_data()
S
57 4 17
update_settings()
S
58 4 16
count_action_items()
S
46 2 45
determine_optimal_granularity()
S
60 3 13
sanitize_array()
S
63 3 11
process_dashboard_data()
S
51 2 25
get_filtered_orders()
S
56 2 19
calculate_trend()
S
69 3 6
instance()
S
72 2 6
__construct()
S
79 1 3
get_users()
S
80 1 3
get_countries()
S
80 1 3
get_product_categories()
S
80 1 3
get_products()
S
80 1 3
get_pages()
S
80 1 3
get_roles()
S
80 1 3
get_settings()
S
69 1 6
get_payment_gateways()
S
80 1 3